package cn.yo2.irain.log4money.app.msgboard;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.criterion.Example;
import org.hibernate.Query;
import org.hibernate.LockMode;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: MiJunfeng
 * Date: 2010-3-29
 * Time: 13:10:41
 * To change this template use File | Settings | File Templates.
 */
public interface IMessagesBoardDAO {

    public void save(MessagesBoard msgBoard);

	public void delete(MessagesBoard msgBoard);

    public MessagesBoard findById(String id);

	public List findByEmail(String email);

	public List findByContent(String content);

	public List findByReplyContent(String replyContent);

	public List findAll();

}
